package com.design.bridge.player;

public class BridgeDemo {
    public static void main(String[] args) {
        OperatingSystem windows = new Windows();
        OperatingSystem linux = new Linux();

        MediaPlayer audioPlayerOnWindows = new AudioPlayer(windows);
        MediaPlayer videoPlayerOnLinux = new VideoPlayer(linux);

        audioPlayerOnWindows.play();
        videoPlayerOnLinux.play();
    }
}
